﻿import {updatePromotuon,findId,findPageCondition} from '../../../api/Promotion/promotion'
let look={
    data() {

        return {
            PromotionInfo:{
                promotionId:this.$route.params.promotionId,  //id序号
            },
            produckInfo:[],
        };
    },
    methods: {
        findApply(){  //查找订单
            findPageCondition( this.PromotionInfo).then(response=> {
                this.produckInfo = response.data;
                console.log(this.produckInfo)
            })
        },

        backtrack(){ //返回
            this.$router.push({
                path: "/Promotion",
            })
        },
    },
        created(){
        this.findApply();
        }
};

export default look;

